package com.fly.estore.dao;

import com.fly.estore.domain.ModuleInfo;

import java.util.List;

/**
 * Created by Fly on 2016/4/13.
 */
public interface ModuleDAO {

    public int add(ModuleInfo moduleInfo);

    public int update(ModuleInfo moduleInfo);

    public int deleteById(String moduleId);

    public ModuleInfo getById(String moduleId);

    public List<ModuleInfo> getListByParentId(String parentId);

}
